package Inputreda_;

import java.io.*;
//字节流转换成字符流
public class InputStreamR_ {
    public static void main(String[] args) throws IOException {
        String pathname="d:\\a.txt";
        BufferedReader br=new BufferedReader(new InputStreamReader(new FileInputStream(pathname),"gbk"));
        String b=br.readLine();
        System.out.println(b);
        br.close();
    }
}
